VintaSoft Twain .NET SDK 15.4: Руководство для .NET разработчика
Vintasoft.Imaging Namespace / ManagedBitmap Class / ManagedBitmap Constructors / ManagedBitmap Constructor(Int32,Int32,Int32,Byte[],Resolution,PixelFormat,Palette)
Синтаксис Exceptions Требования Смотрите также
В этом разделе
ManagedBitmap Constructor(Int32,Int32,Int32,Byte[],Resolution,PixelFormat,Palette)
В этом разделе
Initializes a new instance of the ManagedBitmap class.
Синтаксис
'Declaration

Public Function New( _
ByVal width
Image width.
As Integer, _
ByVal height
Image height.
As Integer, _
ByVal stride
Image data stride.
As Integer, _
ByVal pixelData
Image pixel data.
() As Byte, _
ByVal resolution
Image resolution.
As Resolution, _
ByVal pixelFormat
Image pixel format.
As PixelFormat, _
ByVal palette
Image palette.
As Palette _
)

Parameters

width
Image width.
height
Image height.
stride
Image data stride.
pixelData
Image pixel data.
resolution
Image resolution.
pixelFormat
Image pixel format.
palette
Image palette.
Исключения
ИсключениеОписание
Thrown if pixelData does NOT have enough data for specified bitmap.
Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также